from 看书的例子.lianxi_1 import person
sue = person('sue jones',job='dev',pay=10000)
print(sue)

print(sue.__class__)   #__class__查看这个对象是在哪个模块中的哪个累
print(list(sue.__dict__.keys()))

for key in sue.__dict__:
    print(key,sue.__dict__[key])